home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d23
/
zipstamp.arc
/
ZIPSTAMP.DOC
< prev
next >
Wrap
Text File
|
1989-06-22
|
2KB
|
53 lines
ZipStamp - By Stephen Genusa - Based upon code by Thomas Guinther
Mr Guinther's code allowed me to access the directory structure to
get the file date and times which I needed.
I used a unit from the deceased Turbo Technix magazine to do my
directory searching for ZIP files.
You can substitute Crt unit for the TpCrt. I use Turbo Power's
routines as they are a FANTASTIC set of routines for Turbo Pascal
programmers.
This utility will find all zip files in the current directory (or the
entire hard drive) and find the LATEST - or MOST CURRENT date and time
of all the files in the ZIP file. It will then stamp the ZIP file
with that date and time.
WHY? Well, I hate downloading a file that looks current - only to
find out it is made up of files which are dated in the early '80s! I
don't want to have to pay the phone company any more than I have to.
I am hoping that people will either use this utility or something
similar in both uploading files - and by sysops.
I think this is not a bad idea since the latest date/time stamped file
in the ZIP represents how current the information is.
SYSOPS PLEASE NOTE -
1.) This is a quick process. Its not something you will want to run
daily but every now and then would be nice. (It may even reduce the
number of downloads!)
2.) You can use the /s parameter to have zipstamp check ALL
subdirectories!
AND everyone note that the source code is included.
You can find the zipper unit from Mr Guinther on any quality BBS which
has a Turbo Pascal area. The engine unit for directory searching
should be available from the same board. If you have any problems
in finding them drop me a note and I will see what I can do to help.
Well, there it is. I use it in cataloging and organizing my own ZIP
library. I hope you can too. If you have any questions or comments
please contact me.
Stephen Genusa
149 Wheeler Road
Monroe, LA 71203
P.S. I put this fancy utility and doc file together in a very short
period of time. The code is not to good and I didn't even run this
doc through a spelling check so there may be a few typos. Sorry.